﻿using System.Data;
using System.Runtime.Serialization;
using System.ServiceModel;
using System;

namespace HRMService
{
    [ServiceContract(Namespace = "http://HRMService")]
    public interface INhanSu
    {
        
        [OperationContract]
        DataSet NhanSu_GetAll();

        [OperationContract]
        NhanSuInfo NhanSu_GetInfo(int NhanSuID);

        [OperationContract]
        int NhanSu_Insert(NhanSuInfo eInfo);

        [OperationContract]
        bool NhanSu_Update(NhanSuInfo eInfo);

        [OperationContract]
        bool NhanSu_Delete(int NhanSuID);
    }

    [DataContract(Namespace = "http://HRMService")]
    public class NhanSuInfo
    {
        int _ID;
        [DataMember]
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        string _SoSoBHXH;
        [DataMember]
        public string SoSoBHXH
        {
            get { return _SoSoBHXH; }
            set { _SoSoBHXH = value; }
        }
        string _HoVaTen;
        [DataMember]
        public string HoVaTen
        {
            get { return _HoVaTen; }
            set { _HoVaTen = value; }
        }
        bool _GioiTinh;
        [DataMember]
        public bool GioiTinh
        {
            get { return _GioiTinh; }
            set { _GioiTinh = value; }
        }
        DateTime _NgaySinh;
        [DataMember]
        public DateTime NgaySinh
        {
            get { return _NgaySinh; }
            set { _NgaySinh = value; }
        }
        int _DanToc;
        [DataMember]
        public int DanToc
        {
            get { return _DanToc; }
            set { _DanToc = value; }
        }
        int _QuocGia;
        [DataMember]
        public int QuocGia
        {
            get { return _QuocGia; }
            set { _QuocGia = value; }
        }
        string _DienThoai;
        [DataMember]
        public string DienThoai
        {
            get { return _DienThoai; }
            set { _DienThoai = value; }
        }
        string _Email;
        [DataMember]
        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
        string _SoCMT;
        [DataMember]
        public string SoCMT
        {
            get { return _SoCMT; }
            set { _SoCMT = value; }
        }
        string _NoiCapCMT;
        [DataMember]
        public string NoiCapCMT
        {
            get { return _NoiCapCMT; }
            set { _NoiCapCMT = value; }
        }
        DateTime _NgayCapCMT;
        [DataMember]
        public DateTime NgayCapCMT
        {
            get { return _NgayCapCMT; }
            set { _NgayCapCMT = value; }
        }
        string _NoiKham;
        [DataMember]
        public string NoiKham
        {
            get { return _NoiKham; }
            set { _NoiKham = value; }
        }
        string _MaBenhVien;
        [DataMember]
        public string MaBenhVien
        {
            get { return _MaBenhVien; }
            set { _MaBenhVien = value; }
        }
        string _ChaMe;
        [DataMember]
        public string ChaMe
        {
            get { return _ChaMe; }
            set { _ChaMe = value; }
        }
        string _ThanNhanKhac;
        [DataMember]
        public string ThanNhanKhac
        {
            get { return _ThanNhanKhac; }
            set { _ThanNhanKhac = value; }
        }
        string _DiaChiKhaiSinh;
        [DataMember]
        public string DiaChiKhaiSinh
        {
            get { return _DiaChiKhaiSinh; }
            set { _DiaChiKhaiSinh = value; }
        }
        string _PhuongKhaiSinh;
        [DataMember]
        public string PhuongKhaiSinh
        {
            get { return _PhuongKhaiSinh; }
            set { _PhuongKhaiSinh = value; }
        }
        string _QuanKhaiSinh;
        [DataMember]
        public string QuanKhaiSinh
        {
            get { return _QuanKhaiSinh; }
            set { _QuanKhaiSinh = value; }
        }
        int _ThanhPhoKhaiSinh;
        [DataMember]
        public int ThanhPhoKhaiSinh
        {
            get { return _ThanhPhoKhaiSinh; }
            set { _ThanhPhoKhaiSinh = value; }
        }
        string _DiaChiHoKhau;
        [DataMember]
        public string DiaChiHoKhau
        {
            get { return _DiaChiHoKhau; }
            set { _DiaChiHoKhau = value; }
        }
        string _PhuongHoKhau;
        [DataMember]
        public string PhuongHoKhau
        {
            get { return _PhuongHoKhau; }
            set { _PhuongHoKhau = value; }
        }
        string _QuanHoKhau;
        [DataMember]
        public string QuanHoKhau
        {
            get { return _QuanHoKhau; }
            set { _QuanHoKhau = value; }
        }
        int _ThanhPhoHoKhau;
        [DataMember]
        public int ThanhPhoHoKhau
        {
            get { return _ThanhPhoHoKhau; }
            set { _ThanhPhoHoKhau = value; }
        }
        string _DiaChiLienHe;
        [DataMember]
        public string DiaChiLienHe
        {
            get { return _DiaChiLienHe; }
            set { _DiaChiLienHe = value; }
        }
        string _PhuongLienHe;
        [DataMember]
        public string PhuongLienHe
        {
            get { return _PhuongLienHe; }
            set { _PhuongLienHe = value; }
        }
        string _QuanLienHe;
        [DataMember]
        public string QuanLienHe
        {
            get { return _QuanLienHe; }
            set { _QuanLienHe = value; }
        }
        int _ThanhPhoLienHe;
        [DataMember]
        public int ThanhPhoLienHe
        {
            get { return _ThanhPhoLienHe; }
            set { _ThanhPhoLienHe = value; }
        }
        string _SoHopDong;
        [DataMember]
        public string SoHopDong
        {
            get { return _SoHopDong; }
            set { _SoHopDong = value; }
        }
        DateTime _NgayKy;
        [DataMember]
        public DateTime NgayKy
        {
            get { return _NgayKy; }
            set { _NgayKy = value; }
        }
        DateTime _NgayHieuLuc;
        [DataMember]
        public DateTime NgayHieuLuc
        {
            get { return _NgayHieuLuc; }
            set { _NgayHieuLuc = value; }
        }
        string _LoaiHopDong;
        [DataMember]
        public string LoaiHopDong
        {
            get { return _LoaiHopDong; }
            set { _LoaiHopDong = value; }
        }
        string _ChucVu;
        [DataMember]
        public string ChucVu
        {
            get { return _ChucVu; }
            set { _ChucVu = value; }
        }
        decimal _LuongChinh;
        [DataMember]
        public decimal LuongChinh
        {
            get { return _LuongChinh; }
            set { _LuongChinh = value; }
        }
        decimal _LuongKhac;
        [DataMember]
        public decimal LuongKhac
        {
            get { return _LuongKhac; }
            set { _LuongKhac = value; }
        }
        decimal _PCChucVu;
        [DataMember]
        public decimal PCChucVu
        {
            get { return _PCChucVu; }
            set { _PCChucVu = value; }
        }
        decimal _TNVK;
        [DataMember]
        public decimal TNVK
        {
            get { return _TNVK; }
            set { _TNVK = value; }
        }
        decimal _TNNghe;
        [DataMember]
        public decimal TNNghe
        {
            get { return _TNNghe; }
            set { _TNNghe = value; }
        }
        string _TangLuongChinh;
        [DataMember]
        public string TangLuongChinh
        {
            get { return _TangLuongChinh; }
            set { _TangLuongChinh = value; }
        }
        string _TangPCChucVu;
        [DataMember]
        public string TangPCChucVu
        {
            get { return _TangPCChucVu; }
            set { _TangPCChucVu = value; }
        }
        string _TangTNVK;
        [DataMember]
        public string TangTNVK
        {
            get { return _TangTNVK; }
            set { _TangTNVK = value; }
        }
        string _TangTNNghe;
        [DataMember]
        public string TangTNNghe
        {
            get { return _TangTNNghe; }
            set { _TangTNNghe = value; }
        }
        bool _KhongTNVK;
        [DataMember]
        public bool KhongTNVK
        {
            get { return _KhongTNVK; }
            set { _KhongTNVK = value; }
        }
        bool _KhongTNNghe;
        [DataMember]
        public bool KhongTNNghe
        {
            get { return _KhongTNNghe; }
            set { _KhongTNNghe = value; }
        }
        decimal _ThuNhapBHTN;
        [DataMember]
        public decimal ThuNhapBHTN
        {
            get { return _ThuNhapBHTN; }
            set { _ThuNhapBHTN = value; }
        }
        string _PhuongThucBHTN;
        [DataMember]
        public string PhuongThucBHTN
        {
            get { return _PhuongThucBHTN; }
            set { _PhuongThucBHTN = value; }
        }
        string _DoiTuongBHYT;
        [DataMember]
        public string DoiTuongBHYT
        {
            get { return _DoiTuongBHYT; }
            set { _DoiTuongBHYT = value; }
        }
        decimal _MucTienBHYT;
        [DataMember]
        public decimal MucTienBHYT
        {
            get { return _MucTienBHYT; }
            set { _MucTienBHYT = value; }
        }
        string _PhuongThucBHYT;
        [DataMember]
        public string PhuongThucBHYT
        {
            get { return _PhuongThucBHYT; }
            set { _PhuongThucBHYT = value; }
        }
        int _PhongBan;
        [DataMember]
        public int PhongBan
        {
            get { return _PhongBan; }
            set { _PhongBan = value; }
        }
        bool _DaThoiViec;
        [DataMember]
        public bool DaThoiViec
        {
            get { return _DaThoiViec; }
            set { _DaThoiViec = value; }
        }
    }
}
